<html>
	<head>
		<script src="../../libs/LibScriptLoader.js"></script>
	</head>
	<body>
		<div id="texteditor" style="width: 250; height: 250; border: 1px solid red">
			<canvas id="textcanvas" width="250" height="250">
			</canvas>
		</div>
		<script>
		Lib.require("classjs");
		Lib.require("jquery");
		Lib.require("texteditor").onloadComplete = function() {
			//Class.setEnableMinifiedLoading(1);
			Class.require("TextEditorAdapter").onloadComplete = function() {
				var textEditorAdapter = new TextEditorAdapter();
				var textEditor = textEditorAdapter.createEditorInCanvas(document.getElementById("textcanvas"),
																		250,250);
			}
		}
		</script>
	</body>
</html>
